import Layout from "@/layout";

export default {
  path: "/permission",
  component: Layout,
  redirect: "/permission/menu",
  name: "permission",
  meta: { title: "权限管理", icon: "tree" },
  children: [
    {
      path: "menu",
      name: "permission:meun",
      component: () => import("@/views/permission/menu"),
      meta: { title: "菜单管理", icon: "table" },
    },
    {
      path: "role",
      name: "permission:role",
      component: () => import("@/views/permission/role"),
      meta: { title: "角色管理", icon: "el-icon-document-remove" },
    },
    {
      path: "user",
      name: "permission:user",
      component: () => import("@/views/permission/user"),
      meta: { title: "用户管理", icon: "el-icon-document-remove" },
    },
  ],
}